package com.ctgu.fastleader.service.serviceImpl;

import com.ctgu.fastleader.dao.InputOrderMapper;
import com.ctgu.fastleader.service.InputOrderService;
import com.ctgu.fastleader.vo.InputOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InputOrderServiceImpl implements InputOrderService {

    @Autowired
    InputOrderMapper inputOrderMapper;

    @Override
    public List<InputOrder> findAllInputOrderNotInput() {
        return inputOrderMapper.findAllInputOrderNotInput();
    }

    @Override
    public int insertSelective(InputOrder inputOrder) {
        return inputOrderMapper.insertSelective(inputOrder);
    }

    @Override
    public int updateByPrimaryKeySelective(InputOrder record) {
        return inputOrderMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int selectInputOrderstate() {
        return inputOrderMapper.selectInputOrderstate();
    }

    @Override
    public List<InputOrder> findAllInputOrderRecord() {
        return inputOrderMapper.findAllInputOrderRecord();
    }
}
